import Vue from 'vue'
import App from './App.vue'
import router from './router'
import {
  Button, Icon, Tabbar, TabbarItem, IndexBar, IndexAnchor, DropdownMenu, DropdownItem,
  NavBar, Form, Field, Toast, Swipe, SwipeItem, Lazyload, GridItem, Grid, Dialog, Search, Cell
} from 'vant'

Vue.use(Button)
Vue.use(Icon)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(NavBar)
Vue.use(Form)
Vue.use(Field)
Vue.use(Toast)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Lazyload)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Dialog)
Vue.use(Search)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(Cell)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
